package com.baocai.tools.controller;

import com.baocai.tools.domain.ServerSettings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;

//测试http协议的get请求
@RestController
public class GetController {


    private Map<String, Object> params = new HashMap<>();


    @Autowired
    private ServerSettings serverSettings;

    @GetMapping("/api/v1/test_properties")
    public Object testPeroperties() {


        return serverSettings;
    }


}
